package com.zhangj.springcloud.mapper;

import com.zhangj.springcloud.entites.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * @InterfaceName PaymentMapper
 * @Description
 * @Author zhangjie
 * @Date 2022/1/15 13:52
 * @Version 1.0
 */

@Component
@Mapper
public interface PaymentMapper {

    int creat(Payment payment);

    Payment getPayment(@Param("id") Long id);

}
